php forum
php mysql forum
php mysql smarty
 
Topic Options
#317861 - 02/27/09 02:35 PM [7.3+] Custom Tag - Indent
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Tag - Indent
Usage -
Code:
[indent]text to be indented[/indent]


Code -
Code:
<?php
$export_tags = array (
  0 => 
  array (
    'tag' => 'indent',
    'descrip' => 'Indent',
    'prompt' => 'Enter the text to be indented.',
    'regex' => '(.+?)',
    'markup' => '<div style="text-indent: 30pt;">\\\\1</div>',
  ),
);
?>


Install Instructions - Copy the above custom tag to a notepad document, then import this to your forum's Custom Tag panel (CP -> Tools and Info -> Content Rebuilder -> Custom Tag Editor)
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#317866 - 02/28/09 01:21 AM Re: [7.3+] Custom Tag - Indent [Re: Gizmo]
Gary Dean Offline
Lurker

Registered: 06/13/06
Posts: 4
Loc: Jakarta, Indonesia
I've tried this out, but it doesn't work for me.

import works fine, and it's listed in the custom tag list. but when i try using it in a message on my board, [indent] is not recognised.

is there something else that needs to be done?
_________________________
Dangerously too sophisticated

Top
#317867 - 02/28/09 01:27 AM Re: [7.3+] Custom Tag - Indent [Re: Gary Dean]
Gary Dean Offline
Lurker

Registered: 06/13/06
Posts: 4
Loc: Jakarta, Indonesia
ah, i've got it: after you import, you have to edit the tag and click on the "Enabled?" tick box!
_________________________
Dangerously too sophisticated

Top
#317869 - 02/28/09 04:25 PM Re: [7.3+] Custom Tag - Indent [Re: Gary Dean]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Lol was about to ask if it was Enabled... Theres also an option to show it in the Custom Tags menu in the full text editor.
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#317875 - 03/03/09 12:07 PM Re: [7.3+] Custom Tag - Indent [Re: Gizmo]
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
Thanks Gizzy, this indents the first line or every line inside the [indent] [/indent] tags?
_________________________
- Allen wavey
- What Drives You?

Top
#317877 - 03/03/09 03:30 PM Re: [7.3+] Custom Tag - Indent [Re: AllenAyres]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Just the first line; I'd recommend if you want to indent every line to just encase each paragraph with an indent tag
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top



Moderator:  sirdude 
Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks